<%--
  Created by IntelliJ IDEA.
  User: l
  Date: 2022/5/4
  Time: 21:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="menu.jsp"%>
<script src="js/function.js"></script>
<script src="../shangc/js/jquery-1.12.4.min.js"></script>
<style>
    .error{
        display:  inline-block;
        color: red;
        font-size: 15px;
        margin-left: 10px;
    }
</style>
<!--/sidebar-->
<div class="main-wrap">

    <div class="crumb-wrap">
        <div class="crumb-list"><i class="icon-font"></i><a href="/lyq/admin/admin_index.jsp">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="/lyq/admin/admin_douserselect">用户管理</a><span class="crumb-step">&gt;</span><span>修改用户</span></div>
    </div>
    <div class="result-wrap">
        <div class="result-content">
            <form action="/lyq/admin/admin_douserupdate" onsubmit="return checkForm(this)" method="post" id="myform" name="myform">
                <input type="hidden" name="userstatus" value="${u.user_status}">
                <input type="hidden" name="userid" value="${u.user_id}">
                <input type="hidden" name="cpage" value="${cpage}">
                <input type="hidden" name="keywords" value="${keywords}">
                <table class="insert-tab" width="100%">
                    <tbody>
                    <tr>
                        <th><i class="require-red">*</i>用户名：</th>
                        <td>
                            <input class="common-text required" onfocus="FocusItem(this)" onblur="return  CheckItem(this)" id="title" name="username" size="50" value="${u.user_id}" type="text"><span></span>
                            <input type="hidden" name="idd" value="${u.user_id}">
                    </tr>
                    <tr>
                        <th><i class="require-red">*</i>用户姓名：</th>
                        <td>
                            <input class="common-text" onfocus="FocusItem(this)" onblur="CheckItem(this)" name="name" size="50" value="${u.user_name}" type="text"><span></span>
                        </td>
                    </tr>
                    <tr>
                        <th><i class="require-red">*</i>性别：</th>
                        <td>
                            <input type="radio" name="sex" id="sign_sex2" value="1" ${u.user_sex=='1'?"checked":""} id="sign_sex">男
                            <input type="radio" id="sign_sex1" name="sex" value="0" ${u.user_sex=='0'?"checked":""}>女
                        </td>
                    </tr>
                    <tr>
                        <th>生日：</th>
                        <td style="position: relative">
                            <input type="text" name="birthday" class="common-text required" value="${u.user_birthday}" readonly id="txt_calendar" size="50"  onfocus="showDate()" />
                            <script src="./js/183.js"></script>
                        </td>
                    </tr>
                    <tr>
                        <th>电子邮箱：</th>
                        <td>
                            <input class="common-text required" onfocus="FocusItem(this)" onblur="CheckItem(this)"  name="email" size="50" value="${u.user_email}"  type="text"><span></span>
                        </td>
                    </tr>
                    <tr>
                        <th><i class="require-red">*</i>电话号码：</th>
                        <td>
                            <input class="common-text required" onfocus="FocusItem(this)" onblur="CheckItem(this)" name="mobile" size="50" value="${u.user_mobile}" type="text"><span></span>
                        </td>
                    </tr>
                    <tr>
                        <th><i class="require-red">*</i>收货地址：</th>
                        <td>
                            <input class="common-text required" onfocus="FocusItem(this)" onblur="CheckItem(this)" name="address" size="50" value="${u.user_address}" type="text"><span></span>
                        </td>
                    </tr>
                    <tr>
                        <th></th>
                        <td>
                            <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                            <input class="btn btn6" onClick="history.go(-1)" value="返回" type="button">
                        </td>
                    </tr>
                    </tbody></table>
            </form>
        </div>
    </div>

</div>
<!--/main-->
</div>
</body>
</html>